package com.siyue.controller;

import com.siyue.config.RedisLock;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AopController {

    @RequestMapping("/test")
    @RedisLock(desc = "hello")
    public String test1() {
        System.out.println("我已经执行了");
        return "ok";
    }





}
